package com.gmscosmo.model;

/**
 * @author stephen.qiu
 */
public class Producer{
    private Long id;
    private String originHost;
    private String host;
    private Integer node;
    private Integer video_port;
    private Integer audio_port;
    private Integer room;
    private String rtpForwardTo;
    private long session_id;
    private long handle_id;
    private Integer streamId;
    private long audioStreamId;
    private long videoStreamId;
    private Integer audio_rtcp_port;
    private Integer video_rtcp_port;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOriginHost() {
        return originHost;
    }

    public void setOriginHost(String originHost) {
        this.originHost = originHost;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getNode() {
        return node;
    }

    public void setNode(Integer node) {
        this.node = node;
    }

    public Integer getVideo_port() {
        return video_port;
    }

    public void setVideo_port(Integer video_port) {
        this.video_port = video_port;
    }

    public Integer getAudio_port() {
        return audio_port;
    }

    public void setAudio_port(Integer audio_port) {
        this.audio_port = audio_port;
    }

    public Integer getRoom() {
        return room;
    }

    public void setRoom(Integer room) {
        this.room = room;
    }

    public String getRtpForwardTo() {
        return rtpForwardTo;
    }

    public void setRtpForwardTo(String rtpForwardTo) {
        this.rtpForwardTo = rtpForwardTo;
    }

    public long getSession_id() {
        return session_id;
    }

    public void setSession_id(long session_id) {
        this.session_id = session_id;
    }

    public long getHandle_id() {
        return handle_id;
    }

    public void setHandle_id(long handle_id) {
        this.handle_id = handle_id;
    }

    public Integer getStreamId() {
        return streamId;
    }

    public void setStreamId(Integer streamId) {
        this.streamId = streamId;
    }

    public long getAudioStreamId() {
        return audioStreamId;
    }

    public void setAudioStreamId(long audioStreamId) {
        this.audioStreamId = audioStreamId;
    }

    public long getVideoStreamId() {
        return videoStreamId;
    }

    public void setVideoStreamId(long videoStreamId) {
        this.videoStreamId = videoStreamId;
    }

    public Integer getAudio_rtcp_port() {
        return audio_rtcp_port;
    }

    public void setAudio_rtcp_port(Integer audio_rtcp_port) {
        this.audio_rtcp_port = audio_rtcp_port;
    }

    public Integer getVideo_rtcp_port() {
        return video_rtcp_port;
    }

    public void setVideo_rtcp_port(Integer video_rtcp_port) {
        this.video_rtcp_port = video_rtcp_port;
    }

    @Override
    public String toString() {
        return "Producer{" +
                "id=" + id +
                ", originHost='" + originHost + '\'' +
                ", host='" + host + '\'' +
                ", node=" + node +
                ", video_port=" + video_port +
                ", audio_port=" + audio_port +
                ", room=" + room +
                ", rtpForwardTo='" + rtpForwardTo + '\'' +
                ", session_id=" + session_id +
                ", handle_id=" + handle_id +
                ", streamId=" + streamId +
                ", audioStreamId=" + audioStreamId +
                ", videoStreamId=" + videoStreamId +
                ", audio_rtcp_port=" + audio_rtcp_port +
                ", video_rtcp_port=" + video_rtcp_port +
                '}';
    }
}
